package com.caifu.mapper;

import com.caifu.pojo.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author tww
 * @since 2021-03-01
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据用户id获取用户菜单
     *
     * @param id
     * @return
     */
    List<SysMenu> selectMenuListByUserId(Integer id);
}
